package com.ktmall.service;

import com.ktmall.pojo.AddressParams;

import java.util.List;

/**
 * 地址相关Service层
 */
public interface AddressService {

    public int insert(AddressParams address);

    public List<AddressParams> findByUserId(Integer userId);

    public AddressParams findById(Integer id);

    public int update(AddressParams address);

    public int delById(Integer id);
}
